# 开始前设置
gamemode adventure @a
time set day
weather clear

# 填写躲藏者生成的位置
tp @a[team=hidder] 15 5 -2
spawnpoint @a[team=hidder] 15 5 -2

execute if score #SYSTEM Waittimer_ss matches 10 run function mc:re/10
execute if score #SYSTEM Waittimer_ss matches 20 run function mc:re/20
execute if score #SYSTEM Waittimer_ss matches 30 run function mc:re/30
execute if score #SYSTEM Waittimer_ss matches 40 run function mc:re/40

# 开始游戏
scoreboard players set #SYSTEM GameStart 1
scoreboard players set #SYSTEM GameTimer 1
scoreboard players set #SYSTEM Waittimer 1

title @a title ["游戏开始！"]
title @a[team=hidder] subtitle ["躲藏开始！"]

tellraw @a [""]
tellraw @a [""]
tellraw @a [""]
tellraw @a [""]
tellraw @a [""]
tellraw @a [""]
tellraw @a [""]
tellraw @a [""]
tellraw @a [""]
tellraw @a [""]
tellraw @a [""]
tellraw @a [""]
tellraw @a [""]
tellraw @a [""]
tellraw @a [""]
tellraw @a [""]
tellraw @a [""]
tellraw @a [""]
tellraw @a [""]
tellraw @a [""]
tellraw @a [""]